package com.android.lovely.api

import com.squareup.moshi.Json
import com.squareup.moshi.JsonClass

@JsonClass(generateAdapter = true)
data class ApiResp<T>(

    @Json(name = "code") val code: Int,

    @Json(name = "data") var data: T? = null,

    @Json(name = "time") val time: String,

    @Json(name = "msg") val msg: String = ""
)
